﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FAQ.aspx.cs" Inherits="HardwareAs.FAQ" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
Frequently Asked Questions
</h2>


    <div>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
                &nbsp;<asp:Panel ID="Panel1" runat="server" GroupingText="Search FAQ List">
                    (e.g I love RMIT)<asp:TextBox ID="TextBox1" runat="server" Width="412px"></asp:TextBox>
                    <asp:Button ID="submitBtn" runat="server" onclick="submitBtn_Click" 
                        Text="Search" />
                </asp:Panel>
                <div>
                    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                    <br />
             
                    <asp:Repeater ID="Repeater1" runat="server">
                       <ItemTemplate>
                       
                         <h2><%# Eval("QuestionShort")%></h2>
                         <p><%# Eval("Answer")%></p>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>

            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="submitBtn" EventName="Click">
                </asp:AsyncPostBackTrigger>
            </Triggers>
        </asp:UpdatePanel>
    </div>

 
</asp:Content>
